package cn.xiangxiang.service.goods;

import cn.xiangxiang.pojo.goods.Category;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface CategoryService extends IService<Category> {
    Page<Category> findConditionPage(Integer startpage, Integer pagesize, Category category);

    void delById(Integer id);

    List<Map<String,Object>> findCategoryMenu();

    public List<Map<String, Object>> findCategoryTree();

    public void saveToRedis();
}
